<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style type="text/css">
        .ul11 li{width: 25%;}
    </style>
</head>
<link rel="stylesheet" type="text/css" href="_PUBLIC_/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="_PUBLIC_/css/base.css">
<link rel="stylesheet" type="text/css" href="_PUBLIC_/css/grzh_grzh.css">
<link rel="stylesheet" href="_PUBLIC_/css/header.css" />
<link rel="stylesheet" href="_PUBLIC_/css/wodedaili.css" />

<script type="text/javascript" src="_PUBLIC_/js/jquery.min.js"></script>
<script type="text/javascript" src="_PUBLIC_/js/bootstrap.min.js"></script>
<body>
<div class="header">
    <div class="content">
        <img src="_PUBLIC_/img/login.png" />
        <div class="mune">
            <div class="active"><a href="{:U('Index/index')}">见证首页</a></div>
            <div><a href="{:U('Money/money')}">成为代理</a></div>
            <div><a href="{:U('Personal/user')}">会员中心</a></div>
        </div>
        <p class="rexian">客服热线：<span>14141414141</span></p>
        <p class="zhengjian">欢迎来到正见代理系统</p>
        <a href="javascript:;">进入正见官网》</a>
        <a href="{:U('User/login')}">登陆</a>
        <a href="{:U('User/logout')}">退出</a>
        <a href="{:U('User/register')}">注册</a>
    </div>
</div>


<div class="banner">
    <div>
        <!--<img src="_PUBLIC_/img/login.png">-->
        <p>
            <span>共有名额 :<span>{$list.cnum}</span>个</span>
            <span>已用名额 :<span>{$list.xnum}</span>个</span>
            <span>剩余名额 :<span>{$list.snum}</span>个</span>
        </p>
    </div>
</div>
<div class="nav">
    <div class="" style="width: 1200px;margin: 0 auto;">
        <ul class="" style="width: 860px;margin-left: 320px;">
            <ul class="clearfix ul11">

                <li style="float: left;" class=""><a href="{:U('Parent/wddls')}">我的代理商</a></li>
                <li style="float: left;" class=""><a href="{:U('Parent/index')}" class="active">申请记录</a></li>
                <li style="float: left;" class=""><a href="{:U('Money/money')}"   >升级</a></li>
                <li style="float: left;" class=""><a href="{:U('Personal/user')}" >个人资料设置</a></li>
            </ul>
        </ul>
    </div>
</div>
<div class="main">
    <div style="width: 1200px;margin: 0 auto;">
        <div class=" clearfix">
            <div style="width: 292px;float: left;">
                <div class="panel panel-default">
                    <!-- Default panel contents -->
                    <div class="panel-heading">个人资料</div>
                    <!-- List group -->
                    <ul class="list-group">
                        <li class="list-group-item"><span class="glyphicon glyphicon-user"></span>&nbsp;&nbsp;&nbsp;昵称：{$list.user}</li>
                        <li class="list-group-item"><span class="glyphicon glyphicon-star-empty"></span>&nbsp;&nbsp;&nbsp;等级：{$list.level}</li>
                        <li class="list-group-item"><span class="glyphicon glyphicon-phone-alt"></span>&nbsp;&nbsp;&nbsp;电话：{$list.phone}</li>
                        <li class="list-group-item">&nbsp;&nbsp;&nbsp;&nbsp;上级：{$list.parent}</li>
                        <li class="list-group-item">&nbsp;&nbsp;&nbsp;&nbsp;我的邀请码：{$list.code}</li>
                        <li class="list-group-item"><a href="{:U('Notice/index')}">查看更多资料</a></li>
                    </ul>

                </div>
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <h3 class="panel-title">我的余额</h3>
                    </div>
                    <div class="panel-body">
                        余额：{$list.num}
                    </div>
                </div>
            </div>
            <div class="" style="width: 870px; float: right;">
                <!--<div class="panel panel-default">-->
                    <!--<div class="panel-heading">-->
                        <!--<h3 class="panel-title">公告栏</h3>-->
                    <!--</div>-->
                    <!--<div class="panel-body">-->
                        <!--所剩名额不多请升级，或向上级购买名额-->
                    <!--</div>-->
                <!--</div>-->
                <table class="table">
                    <tr class="warning ">
                        <th class="text-center">申请人</th>
                        <th class="text-center">申请时间</th>
                        <th class="text-center">申请代理等级</th>
                        <th class="text-center">申请有效期</th>
                        <th class="text-center">申请操作</th>
                    </tr>
                    <foreach name="notice" item="val">
                    <tr>
                        <td class="text-center">{$val.user}</td>
                        <td class="text-center">{$val.time}</td>
                        <td class="text-center">{$val.level}</td>
                        <td class="text-center">1天</td>
                        <td class="text-center"><a href="{:U('Parent/allow',['id'=>$val['id'],'level'=>$val['level']])}">允许</a>&nbsp;
                            <a href="{:U('Parent/forbidden',['id'=>$val['id'],'level'=>$val['level']])}">不允许</a></td>
                    </tr>
                    </foreach>
                    <!--<tr>-->
                        <!--<td class="text-center">zrl18481</td>-->
                        <!--<td class="text-center">2017.7.1</td>-->
                        <!--<td class="text-center">天使合伙人</td>-->
                        <!--<td class="text-center">1天</td>-->
                        <!--<td class="text-center"><a href="##">允许</a>&nbsp;<a href="##">不允许</a>&nbsp;<a href="##">删除</a></td>-->
                    <!--</tr>-->

                </table>
                <div style="text-align:center;">{$page}</div>

            </div>
        </div>
    </div>
</div>


</body>
<script type="text/javascript">



</script>
</html>